home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / Interfaces&Libraries / Universal / Interfaces / AIncludes / CRMSerialDevices.a < prev    next >
Encoding:
Text File  |  1997-08-12  |  1.7 KB  |  56 lines  |  [TEXT/MPS ]

  1. ;
  2. ;    File:        CRMSerialDevices.a
  3. ;
  4. ;    Contains:    Communications Resource Manager Serial Device interfaces.
  5. ;
  6. ;    Version:    Technology:    System 7.5
  7. ;                Release:    Universal Interfaces 3.0.1
  8. ;
  9. ;    Copyright:    © 1988-1997, 1995, 1997 by Apple Computer, Inc., all rights reserved
  10. ;
  11. ;    Bugs?:        Please include the the file and version information (from above) with
  12. ;                the problem description.  Developers belonging to one of the Apple
  13. ;                developer programs can submit bug reports to:
  14. ;
  15. ;                    devsupport@apple.com
  16. ;
  17. ;
  18.     IF &TYPE('__CRMSERIALDEVICES__') = 'UNDEFINED' THEN
  19. __CRMSERIALDEVICES__ SET 1
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24.  
  25.  
  26.                                                             ;     for the crmDeviceType field of the CRMRec data structure    
  27. crmSerialDevice                    EQU        1                    ;    version of the CRMSerialRecord below    
  28. curCRMSerRecVers                EQU        1
  29. ;  Maintains compatibility w/ apps & tools that expect an old style icon    
  30. CRMIconRecord            RECORD 0
  31. oldIcon                     ds.l    32                ; offset: $0 (0)        ;  ICN#    
  32. oldMask                     ds.l    32                ; offset: $80 (128)
  33. theSuite                 ds.l    1                ; offset: $100 (256)    ;  Handle to an IconSuite    
  34. reserved                 ds.l    1                ; offset: $104 (260)
  35. sizeof                     EQU *                    ; size:   $108 (264)
  36.                         ENDR
  37. ; typedef struct CRMIconRecord *        CRMIconPtr
  38.  
  39. ; typedef CRMIconPtr *                    CRMIconHandle
  40.  
  41. CRMSerialRecord            RECORD 0
  42. version                     ds.w    1                ; offset: $0 (0)
  43. inputDriverName             ds.l    1                ; offset: $2 (2)
  44. outputDriverName         ds.l    1                ; offset: $6 (6)
  45. name                     ds.l    1                ; offset: $A (10)
  46. deviceIcon                 ds.l    1                ; offset: $E (14)
  47. ratedSpeed                 ds.l    1                ; offset: $12 (18)
  48. maxSpeed                 ds.l    1                ; offset: $16 (22)
  49. reserved                 ds.l    1                ; offset: $1A (26)
  50. sizeof                     EQU *                    ; size:   $1E (30)
  51.                         ENDR
  52. ; typedef struct CRMSerialRecord *        CRMSerialPtr
  53.  
  54.     ENDIF ; __CRMSERIALDEVICES__ 
  55.  
  56.